From b78e9d1492ff980d314901b17443ac9af7d4e584 Mon Sep 17 00:00:00 2001 From: Jens Frank Date: Thu, 29 Apr 2004 05:00:18 +0000 Subject: [PATCH] Removed image resizing test, now done in Image::createThumb. The web browser will have to resize the image --- includes/Skin.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/includes/Skin.php b/includes/Skin.php index c19b90e75b..35b6f9eb43 100644 --- a/includes/Skin.php +++ b/includes/Skin.php @@ -1783,10 +1783,10 @@ class Skin { $thumbUrl = $url; } else { $boxheight = intval( $height/($width/$boxwidth) ); - if ( $boxwidth > $width ) { - $boxwidth = $width; - $boxheight = $height; - } + # if ( $boxwidth > $width ) { + # $boxwidth = $width; + # $boxheight = $height; + #} $thumbUrl = $img->createThumb( $boxwidth ); } $oboxwidth = $boxwidth + 2; -- 2.20.1